package com.testapp.bluetoothtest08.File;

import java.io.File;

public class CipherSecond {
    File file = new File("/data/data/com.testapp.bluetoothtest08/cipherSecond.txt");
    BaseFileOperation bfo = new BaseFileOperation();

    public CipherSecond() {
        init();
    }

    private void init() {
        if(!bfo.isExist(file)){
            write("");
        }
    }

    public void write(String text){
        bfo.write(file,text);
    }

    public String read(){
        return bfo.readString(file);
    }
}
